package rxjava.application.com.androidmyp.Data;

/**
 * Created by Administrator on 2016/4/15.
 * 自定义网络异常
 */
public class ApiException extends Throwable {
    private String respCode;
    private String respMSg;

    public ApiException(String respCode, String respMSg) {
        this.respCode = respCode;
        this.respMSg = respMSg;
    }

    public String getRespCode() {
        return respCode;
    }

    public void setRespCode(String respCode) {
        this.respCode = respCode;
    }

    public String getRespMSg() {
        return respMSg;
    }

    public void setRespMSg(String respMSg) {
        this.respMSg = respMSg;
    }
}
